SAP Accounts Payable System API - Implementation Template
SAP S4HANA Cloud setup guide
Technical Objects
Communication User
Create a new communication user with the app Maintain Communication User in the S/4 HANA Cloud UI. The value of the user id, the format of which is CC000000XXXX, will be mapped as the field Created By.
Communication system
Create a new communication system with the app Maintain Communication System in the S/4 HANA Cloud UI. Add the user created in the previous step in the section Users for Inbound Communication. The business system defined in the section Technical Data - General will be mapped as the Sender System ID.
Communication Arrangement
Below are the communication arrangements required for this use case:
Communication Arrangement ID | Service Name | Protocol |
---|---|---|
SAP_COM_0002 | Journal Entry - Post (Synchronous) | SOAP |
SAP_COM_0303 | Accounting Document - Read | OData V2 |
Create both arrangements with the app Communication Arrangement and add the communication system created earlier in the section Common Data. The value of the field Own System will be mapped as the Recipient System ID.
Business Objects
Business Partner
To create a new business partner, use the app Manage Business Partner Master Data. Complete the mandatory fields such as name, country, language and click on OK. At the Roles section, add the role FLVN00 (Supplier Accounting):
Once added, enter the role using the right navigation arrow. Go to Company Code section and create a new line:
Complete the values for Company Code, Reconciliation Account, Payment Terms and Payment Method. Click on apply. Finally, click on save.
G/L Account
To create a new G/L account, use the app Manage G/L Account Master data. Complete the Chart of Accounts and choose a G/L Account or a G/L Account type to filter:
Select the reference G/L Account and press the button Copy. Enter the new account number, description and choose the company code to use (same as the assigned to the Business Partner). Finally click on Copy:
The G/L account will be created after the scheduler runs. Then, go back to the main screen of the app and complete with the G/L account number assigned:
Click on the right navigation arrow to check the details of the account. There, you can edit the values of the account if needed.